package com.heisen.base.handler;

import com.heisen.base.print.PrintBanner;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;


public class PrintBannerHandler {

    @Bean
    @ConditionalOnMissingBean(name = "printBanner")
    public PrintBanner printBanner() {
        return new PrintBanner() ;
    }
}
